//通知请求模块
import request from "../utils/request";
export const getVoteChannels=(data)=>{
    return request({
        method:"GET",
        url:"/front/votes/mylist",
        params:data
    })
}
export const getVoteById=(data)=>{
    return request({
        method:"GET",
        url:"/front/votes/getById",
        params:{
            id:data
        }
    })
}
export const submitVoteTtem=(data)=>{
    return request({
        method:"POST",
        url:"/front/votes/vote",
        data:data
    })
}